<template>
  <div>
    <el-card class="box-card" shadow="always">
      <div slot="header" :class="$style.clearfix">
        <span>调价失败/异常记录</span>
      </div>
      <audit-price-exception-header-form
        @onQuery="queryList"
        :querying="querying"
        :topChannelList="topChannelList"
      ></audit-price-exception-header-form>
    </el-card>
    <el-card class="box-card" shadow="always">
      <audit-price-exception-list-table
        v-bind="list"
        @pageSizeChange="pageSizeChange"
        @pageNumChange="pageNumChange"
        @onOpenEditModal="onOpenEditModal"
      ></audit-price-exception-list-table>
    </el-card>
    <!-- 详情   -->
    <audit-price-exception-edit-modal
      ref="editModal"
      :visible="visible"
      :taskValueString="JSON.stringify(formValue)"
      :topChannelList="topChannelList"
      width="40%"
      @close="onClose"
      @onOpenImportModal="onOpenImportModal"
      @resetTable="resetTable"
      @oneKeyAudit="oneKeyAudit"
    ></audit-price-exception-edit-modal>
    <!--  导入对话框  -->
    <audit-price-import-modal
      :visible="importVisible"
      :taskId="taskId"
      @close="onCloseImport"
      @resetTable="resetAuditDataTable"
      :topChannelList="topChannelList"
    ></audit-price-import-modal>
  </div>
</template>

<style lang="scss" module>
@import './index.module.scss';
</style>

<script>
import Index from './index.js';
export default Index;
</script>
